﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Common.Utilities;
using Common.Library;

namespace Social_Celebrities.UserControls
{
    public partial class Help_popup_Twitter : UserControl
    {
        private static PageHelper oldstate;
        public Help_popup_Twitter()
        {
            InitializeComponent();
            ShowPopup();
            close();
        }

        public void ShowPopup()
        {
            AppSettings.bcount = true;
            oldstate = PageHelper.InactivatePage(true);

            PopUp_Message.IsOpen = true;
        }
        public void close()
        {
            PopUp_Message.IsOpen = false;
            oldstate = PageHelper.InactivatePage(false);
            AppSettings.bcount = false;
        }

        private void Close_MouseLeftButtonDown_1(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            close();
        }
    }
}
